//
//  HELMessageCell.m
//  NursingAssociation
//
//  Created by wsj2015 on 2017/3/7.
//  Copyright © 2017年 wsj2015. All rights reserved.
//

#import "HELMessageCell.h"
#import "NSString+Utilities.h"
@implementation HELMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    wsj_cornerRadius( self.tagView, self.tagView.bounds.size.height/2);
    
    
}


- (void)setModel:(HELMessageListModel *)model{
    
    self.tagView.hidden = [model.isRead integerValue]?YES:NO;
    
    self.titleL.text=  model.notifName;
    self.contentL.text = model.notifContent;
    
    self.dateL.text =[NSString timeStringYYMMDDFrom:[model.createDate longLongValue]];
    
    
    
    

}



@end
